import { createRequest } from '/@/api/service';
const module = 'ib/flowpath/v1/ZcscAssetApi/';
/**
 * 根据二维码查询资产编码
 */
function ZCSC_QUERY_ASSET_CODE_BY_QR_CODE(
  data: ZcscAssetApi.ZcscQueryAssetCodeByQrCodeReq,
  header: object = {},
): Promise<ZcscAssetApi.ZcscQueryAssetCodeByQrCodeResp> {
  return createRequest(
    `${process.env.APP_API_URL}${module}zcscQueryAssetCodeByQrCode`,
    data,
    header,
    'POST',
  );
}

export { ZCSC_QUERY_ASSET_CODE_BY_QR_CODE };
